/**
 * Copyright (c) 2018-2028, Chill Zhuang 庄骞 (smallchill@163.com).
 * <p>
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * <p>
 * http://www.apache.org/licenses/LICENSE-2.0
 * <p>
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.springblade.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import org.springblade.core.mp.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 实体类
 *
 * @author Blade
 * @since 2023-04-20
 */
@Data
@TableName("blade_installed_analysis")
@ApiModel(value = "InstalledAnalysis对象", description = "InstalledAnalysis对象")
@NoArgsConstructor
@AllArgsConstructor
public class InstalledAnalysis implements Serializable  {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ApiModelProperty(value = "主键")
    private Long id;
    /**
     * 1发送 2接收 3双匹配
     */
    @ApiModelProperty(value = "1发送 2接收 3双匹配")
    private Integer direction;
    /**
     * 属性名称
     */
    @ApiModelProperty(value = "属性名称")
    private String propertyName;
    /**
     * 当前属性值
     */
    @ApiModelProperty(value = "当前属性值")
    private String propertyValue;
    /**
     * 匹配模型，1全量匹配，2动态匹配（XXX{$}XXX），3JavaSDK
     */
    @ApiModelProperty(value = "匹配模型，1全量匹配，2动态匹配（XXX{$}XXX），3JavaSDK")
    private Integer matchingMode;
    /**
     * 匹配发送值类型 1-string 2hex
     */
    @ApiModelProperty(value = "匹配发送值类型 1-string 2hex")
    private Integer matchingType;
    /**
     * 匹配值
     */
    @ApiModelProperty(value = "匹配值")
    private String matchingValue;
    /**
     * 详情描述
     */
    @ApiModelProperty(value = "详情描述")
    private String detail;
    /**
     * 物模型
     */
    @ApiModelProperty(value = "物模型")
    private Integer deviceModel;
    /**
     * 匹配产品类型
     */
    @ApiModelProperty(value = "匹配产品类型")
	@JsonSerialize(using = ToStringSerializer.class)
    private String productTypeId;


}
